<?php

class JobNew extends CWidget {
	public $model;
    public function init() {
        $data = Job::model()->findAll("user_id=:id and status =1 ", array(':id'=>Yii::app()->user->id));
        $this->render('job_new',array('data'=>$data));
    }

}

?>
